update_veto_config

@mount("votes.update_veto_config") operation update_veto_config(veto_period: integer, vetoable_duration: integer)

Updates the veto configuration, including the veto period and vetoable duration.

Parameters

veto_period
  • The new veto period, which must be greater than zero.

vetoable_duration
  • The new vetoable duration, which must be greater than zero.

Throws

UnauthorizedError
  • If the requester does not have admin privileges.

InvalidParameterError
  • If the veto period or vetoable duration is not greater than zero.